// MCollection_BPA.cpp: implementation of the CMCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/MCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CMCollection_BPA::CMCollection_BPA()
{

}

CMCollection_BPA::~CMCollection_BPA()
{

}

CM_BPA* CMCollection_BPA::GetFirstM()
{
	return (CM_BPA*)CCardCollection_BPA::GetFirstCard();
}

CM_BPA* CMCollection_BPA::GetM(char *strBusName, double dkV, char nID)
{
	CM_BPA tempM;
	strcpy(tempM.m_strName,strBusName);
	tempM.m_dkV = dkV;
	tempM.m_chID = nID;
	return (CM_BPA*)CCardCollection_BPA::GetCard(&tempM);
}

CM_BPA* CMCollection_BPA::Traverse(CM_BPA *pM, int nDirection)
{
	return (CM_BPA*)CCardCollection_BPA::Traverse(pM,nDirection);
}
